home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / daemons / ipServer / RCS / raw.h,v < prev    next >
Encoding:
Text File  |  1989-08-16  |  2.7 KB  |  141 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.5
  10. date     89.08.15.19.55.34;  author rab;  state Exp;
  11. branches ;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     89.03.23.09.08.01;  author brent;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     89.02.21.10.05.16;  author brent;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     88.08.16.11.22.03;  author mendel;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     88.04.27.09.01.25;  author brent;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34.  
  35. desc
  36. @Raw IP defs
  37. @
  38.  
  39.  
  40. 1.5
  41. log
  42. @Commented #endif labels.
  43. @
  44. text
  45. @/*
  46.  * raw.h --
  47.  *
  48.  *    External declarations of the raw IP socket routines.
  49.  *
  50.  * Copyright 1987 Regents of the University of California
  51.  * All rights reserved.
  52.  * Permission to use, copy, modify, and distribute this
  53.  * software and its documentation for any purpose and without
  54.  * fee is hereby granted, provided that the above copyright
  55.  * notice appear in all copies.  The University of California
  56.  * makes no representations about the suitability of this
  57.  * software for any purpose.  It is provided "as is" without
  58.  * express or implied warranty.
  59.  *
  60.  *
  61.  * $Header: /sprite/src/daemons/ipServer/RCS/raw.h,v 1.4 89/03/23 09:08:01 brent Exp Locker: rab $ SPRITE (Berkeley)
  62.  */
  63.  
  64. #ifndef _IPS_RAW
  65. #define _IPS_RAW
  66.  
  67. #include "sprite.h"
  68.  
  69. /*
  70.  * RAW_REQUEST_BUF_SIZE defines the size of the pseudo-device request
  71.  * buffer used to handle requests on raw sockets.   This limits the size
  72.  * of the datagram that can be written to the raw socket to 2048 bytes.
  73.  */
  74. #define RAW_REQUEST_BUF_SIZE    (2048)
  75.  
  76. extern ReturnStatus    Raw_SocketOpen();
  77. extern ReturnStatus    Raw_SocketClose();
  78. extern ReturnStatus    Raw_SocketRead();
  79. extern ReturnStatus    Raw_SocketWrite();
  80. extern int        Raw_SocketSelect();
  81. extern ReturnStatus    Raw_SocketBind();
  82. extern ReturnStatus    Raw_SocketConnect();
  83. extern ReturnStatus    Raw_SocketShutdown();
  84. extern void        Raw_Input();
  85.  
  86. #endif /* _IPS_RAW */
  87. @
  88.  
  89.  
  90. 1.4
  91. log
  92. @Eliminated sizeof(Pdev_Request) from buffer sizes.  That extra
  93. amount is handled in main.c so these are not so knowledgable
  94. about the pseudo-device interface.
  95. @
  96. text
  97. @d17 1
  98. a17 1
  99.  * $Header: /sprite/src/daemons/ipServer/RCS/raw.h,v 1.3 89/02/21 10:05:16 brent Exp $ SPRITE (Berkeley)
  100. d42 1
  101. a42 1
  102. #endif _IPS_RAW
  103. @
  104.  
  105.  
  106. 1.3
  107. log
  108. @Added constants used for the pseudo-device request buffer
  109. @
  110. text
  111. @d17 1
  112. a17 1
  113.  * $Header: /sprite/src/daemons/ipServer/RCS/raw.h,v 1.2 88/08/16 11:22:03 mendel Exp Locker: brent $ SPRITE (Berkeley)
  114. d30 1
  115. a30 1
  116. #define RAW_REQUEST_BUF_SIZE    (2048 + sizeof(Pdev_Request))
  117. @
  118.  
  119.  
  120. 1.2
  121. log
  122. @Converted to new lib.a.
  123. @
  124. text
  125. @d17 1
  126. a17 1
  127.  * $Header: raw.h,v 1.1 88/04/27 09:01:25 brent Exp $ SPRITE (Berkeley)
  128. d25 6
  129. @
  130.  
  131.  
  132. 1.1
  133. log
  134. @Initial revision
  135. @
  136. text
  137. @d17 1
  138. a17 1
  139.  * $Header: raw.h,v 6.0 87/09/08 15:57:36 andrew Stable $ SPRITE (Berkeley)
  140. @
  141.